package com.manage.mapper;

import com.manage.pojo.operation.OrdersList;
import com.manage.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersListMapper extends MyMapper<OrdersList> {

    /**
     * @Description: 根据订单id获取订单详细信息
     */
    public OrdersList queryOrdersByOrderId(@Param("orderId") String orderId);

    /**
     * @Description: 获取所有订单详细信息
     */
    public List<OrdersList> queryAllOrders();

    /**
     * @Description: 根据用户id获取订单详细信息
     */
    public List<OrdersList> queryOrdersByUserId(@Param("userId") String userId);

    /**
     * @Description: 根据鞋id获取订单详细信息
     */
    public List<OrdersList> queryOrdersByShoesId(@Param("shoesId") String shoesId);
}